#!/bin/bash

MOUNT_POINT="/mnt/hdd"

if mountpoint -q "$MOUNT_POINT"; then
    echo "$(date): 磁盘挂载成功" >> /userfs/all.txt
    echo "磁盘挂载成功"
    exit 0
else
    echo "$(date): 磁盘挂载失败" >> /userfs/all.txt
    echo "磁盘挂载失败"
    exit 1
fi